package com.triadsystems.cashweb.modelo.testes;

import org.springframework.util.DigestUtils;

public class TesteCriptografia {
	public static void main(String[] args){
		System.out.println(encripta("julio"));
		System.out.println(encripta("Lucas"));
	}

	public static String encripta(String senha) {
		senha =  DigestUtils.md5DigestAsHex(senha.getBytes());
		return senha;
	}
}
